package com.woniu.microcommunityserver.tribal.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * 兴趣部落
 * @author lhy
 * @email 1045238869@qq.com
 * @date 2021-01-22 11:10:59
 */
@Data
@TableName("interest_tribal_info")
public class InterestTribalInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@TableId
	private Long id;
	/**
	 * 部落名称
	 */
	private String tribalName;
	/**
	 * 部落分类ID
	 */
	private Long fkTribalCategoryId;
	/**
	 * 部落头像储存地址
	 */
	private String tribalPictureStorageAddress;
	/**
	 * 创建时间
	 */
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date tribalCreationTime;
	/**
	 * 状态 0-启用 1-禁用
	 */
	private Integer tribalState;
	/**
	 * 部落分类
	 */
	@TableField(exist = false)
	private String tribalCategoryName;
}
